/*
  2018213562 袁佳艺
    数据库课程设计
*/
import Vue from 'vue'
import App from './App.vue'
import router from './router'
import BaiduMap from 'vue-baidu-map'
import ElementUI from 'element-ui'
import axios from 'axios'
Vue.prototype.$axios = axios

Vue.use(BaiduMap, {
  
  ak: 'sR1vtPkyTYv5MLLlDGeYj5HdcGRp8S1U'
})


// var url="http://localhost:3000";
// axios.get(url+'/product')
//   .then(function (response) {
//     console.log(response);
//   })
//   .catch(function (error) {
//     console.log(error);
//   });


Vue.use(ElementUI);

Vue.config.productionTip = false

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
